﻿using System.Windows.Forms;
using CustomComponents.Controls;

namespace SMS.Customer.View.Component
{
    public partial class CustomerInformationControl : UserControl
    {
        public CustomerInformationControl()
        {
            InitializeComponent();
        }

        public TextBox CustIdField
        {
            get { return m_custIdTb; }
        }

        public TextBox FirstNameField
        {
            get { return m_firstNameTb; }
        }

        public TextBox LastNameField
        {
            get { return m_lastNameTb; }
        }

        public NumericTextBox CreditLimitField
        {
            get { return m_creditLimitTb; }
        }

        public TextBox AddressField
        {
            get { return m_addressTb; }
        }

        public NumericTextBox BalanceField
        {
            get { return m_balanceTb; }
        }

        public DataGridView CustContactsDataView
        {
            get { return m_custContactDgv; }
        }

        public BindingSource CustomerBindingSource
        {
            get { return m_custBindSource; }
        }

        public BindingSource CustContactBindingSource
        {
            get { return m_custContactBindSource; }
        }
    }
}
